#ifndef JSONUPLOAD_H
#define JSONUPLOAD_H

#define JSON_UP_HEADER                                          "Header"
#define JSON_UP_BODY                                            "Data"
#define JSON_UP_FUN_NAME                                        "FunName"
#define JSON_UP_SID                                             "Sid"
#define JSON_UP_TIME_STAMP                                      "Timestamp"
#define JSON_UP_STUTS					                        "Status"
#define JSON_UP_MSG2CLIENT				                        "Msg2Client"
#define JSON_UP_ERRORCODE                                       "Error_code"
//资产json
#define ASSET_UP_GUID                                           "GUID"
#define ASSET_UP_PARTITION                                      "Partition"
#define ASSET_UP_PARTITION_X                                    "partition"
#define ASSET_UP_IP                                             "Ip"
#define ASSET_UP_IP_X                                           "ip"
#define ASSET_UP_IP_D                                           "IP"
#define ASSET_UP_MAC                                            "Mac"
#define ASSET_UP_NETWORK_GUID_D                                   "NetworkGUID"
#define ASSET_UP_TYPE                                           "type"
#define ASSET_UP_DEVICE_ID                                      "deviceID"
#define ASSET_UP_OPERATION_TYPE                                 "OperationType"
#define ASSET_UP_DEVGUID                                        "DevGUID"
#define ASSET_UP_DEVGUID_x                                      "devGuid"
#define ASSET_UP_UNKNOWDEVICE                                   "UnknownDevice"
#define DEVICE_UP_DCDGUID				                        "DcdGuid"
#define DEVICE_UP_DCDGUID_X				                        "dcdGuid"
#define ASSET_UP_ASCRIPTIONTYPE                                 "AscriptionType"
#define ASSET_UP_DEVSUBTYPE                                     "devSubType"
#define ASSET_UP_DEVSYSTEM                                      "devSystem"
#define ASSET_UP_DEVICE_NAME                                    "deviceName"
#define ASSET_UP_DEV_NAME                                       "devName"
#define ASSET_UP_INNER_NAME                                     "innerName"
#define ASSET_UP_VOLTAGE_CLASS                                  "voltageCalss"
#define ASSET_UP_DEVICE_CODE                                    "deviceCode"
#define ASSET_UP_CORP_ID                                        "corpID"
#define ASSET_UP_SITE_TYPE                                      "siteType"
#define ASSET_UP_POSITION                                       "position"
#define ASSET_UP_FACTORY_ID                                     "factoryID"
#define ASSET_UP_MODEL                                          "model"
#define ASSET_UP_AGENT_ID                                       "agentID"
#define ASSET_UP_SOFT_VERSION                                   "softVersion"
#define ASSET_UP_BUSINESS_SYSTEM_ID                             "busnessSystemID"
#define ASSET_UP_USER                                           "user"
#define ASSET_UP_PRINCIPLE                                      "principle"
#define ASSET_UP_TELEPHONE                                      "telephone"
#define ASSET_UP_ADD_TIME                                       "addTime"
#define ASSET_UP_UPDATE_TIME                                    "updateTime"
#define ASSET_UP_REMARK                                         "remark"
#define ASSET_UP_SYSTEM_VERSION                                 "systemVersion"
#define ASSET_UP_NORMA_NAME                                     "normaname"
#define ASSET_UP_SCRIPT_NAME                                    "scriptName"
#define ASSET_UP_SUB_TABLE                                      "SubTable"
#define ASSET_UP_SUB_GUID                                       "subGUID"
#define ASSET_UP_PORT                                           "port"
#define ASSET_UP_MAC_D                                          "MAC"
#define ASSET_UP_MAC_X                                          "mac"
#define ASSET_UP_NETWORK_GUID                                   "networkGUID"
#define ASSET_UP_ISSPANDCD                                      "isSpanDcd"
#define ASSET_UP_DEV                                            "Dev"
#define ASSET_UP_DEVLIST                                        "devList"


//装置json
#define DEVICE_VERSIONUPDATE                                    "updateTime"
#define DEVICE_UP_PROGRAMVERSION                                "programVersion"
#define DEVICE_UP_TYPE					                        "Type"
#define ROUTE_UP_TABLE                                          "RouteTable"
#define ROUTE_UP_CONFGUID                                       "routeConfGuid"
#define ROUTE_UP_DESTINATIONS                                   "destinations"
#define ROUTE_UP_MASK                                           "mask"
#define ROUTE_UP_GATEWAY                                        "gateway"

#define DEVICE_UP_DEVICECODE                                    "DEVICECODE"
#define DEVICE_UP_DEVICENAME                                    "DEVICENAME"
#define DEVICE_UP_GUID                                          "GUID"
#define DEVICE_UP_HARDDISKSERIAL                                "HARDDISKSERIAL"
#define DEVICE_UP_IP                                            "IP"
#define DEVICE_UP_MD5                                           "MD5"
#define DEVICE_UP_PROGRAM                                       "PROGRAM"
#define DEVICE_UP_RELATIONINFO                                  "RELATIONINFO"
#define DEVICE_UP_BUSNESSSYSTEMID                               "BUSNESSSYSTEMID"
#define DEVICE_UP_CORPID                                        "CORPID"
#define DEVICE_UP_BELONGEDMAJOR                                 "BELONGEDMAJOR"
#define DEVICE_UP_FACTORYID                                     "FACTORYID"
#define DEVICE_UP_MODEL                                         "MODEL"
#define DEVICE_UP_PARTITION                                     "PARTITION"
#define DEVICE_UP_SITENAME                                      "SITENAME"
#define DEVICE_UP_STARTTIME                                     "STARTTIME"
#define DEVICE_UP_SUBTABLE                                      "SUBTABLE"
#define DEVICE_UP_MAC                                           "MAC"
#define DEVICE_UP_PORT                                          "PORT"
#define DEVICE_UP_SUPPINFO                                      "SUPPINFO"
#define DEVICE_UP_PHYADDRESS                                    "PHYADDRESS"
#define DEVICE_UP_REMARK                                        "REMARK"
#define DEVICE_UP_SHOWNAME                                      "SHOWNAME"
#define DEVICE_UP_SYSTEMVERSION                                 "SYSTEMVERSION"
#define DEVICE_UP_USER                                          "USER"

//网口配置信息调阅
#define GETINTERFACECONFIG_UP_DCDGUID                           "dcdGuid"
#define GETINTERFACECONFIG_UP_TOTALNUM                          "totalNum"
#define GETINTERFACECONFIG_UP_NTERFACELIST                      "interfaceList"
#define GETINTERFACECONFIG_UP_INTERFACENAME                     "interfaceName"
#define GETINTERFACECONFIG_UP_NTERFACESTATUS                   "interfaceStatus"
#define GETINTERFACECONFIG_UP_SUBINTERFACENUM                   "subInterfaceNum"
#define GETINTERFACECONFIG_UP_MIRRORINTER                       "mirrorInter"
#define GETINTERFACECONFIG_UP_IP                                "ip"
#define GETINTERFACECONFIG_UP_MAC                               "mac"
#define GETINTERFACECONFIG_UP_MASK                              "mask"
#define GETINTERFACECONFIG_UP_MTU                               "mtu"
#define GETINTERFACECONFIG_UP_GATEWAY                           "gateway"
#define GETINTERFACECONFIG_UP_SUBINTERFACELIST                  "subInterfaceList"
#define GETINTERFACECONFIG_UP_SUBINTERFACENAME                  "subInterfaceName"
#define GETINTERFACECONFIG_UP_SUBINTERFACEIP                    "subInterfaceIp"
#define GETINTERFACECONFIG_UP_SUBINTERFACEMASK                  "subInterfaceMask"
#define GETINTERFACECONFIG_UP_VLANID                            "vlanId"

//SNMP配置信息调阅
#define GETSNMPCONFIG_UP_DCDGUID                                 "DcdGuid"
#define GETSNMPCONFIG_UP_LIST                                    "SNMPConfList"
#define GETSNMPCONFIG_UP_DEVGUID                                 "DevGuid"
#define GETSNMPCONFIG_UP_DEVIP                                   "DevIP"
#define GETSNMPCONFIG_UP_DEVNAME                                 "DevName"
#define GETSNMPCONFIG_UP_EDITION                                 "Edition"
#define GETSNMPCONFIG_UP_PORT                                    "Port"
#define GETSNMPCONFIG_UP_COMMUNITY                               "Community"
#define GETSNMPCONFIG_UP_USER                                    "User"
#define GETSNMPCONFIG_UP_SECLEVEL                                "SecLevel"
#define GETSNMPCONFIG_UP_AUTHENTICATIONALG                       "AuthenticationAlg"
#define GETSNMPCONFIG_UP_ENCRYPTIONALG                           "EncryptionAlg"
#define GETSNMPCONFIG_UP_AUTHENPWD                               "AuthenticationPassword"
#define GETSNMPCONFIG_UP_ENCRYPTIONPWD                           "EncryptionPassword"
#define GETSNMPCONFIG_UP_CONTEXT                                 "Context"
#define GETSNMPCONFIG_UP_CYCLE                                   "Cycle"



#define GETDEVSYSINFO_UP_SYSDESC                                "SysDesc"
#define GETDEVSYSINFO_UP_OID                                    "OID"
#define GETDEVSYSINFO_UP_SYSUPTIME                              "SysUptime"
#define GETDEVSYSINFO_UP_SYSCONTACTS                            "SysContacts"
#define GETDEVSYSINFO_UP_SYSNAME                                  "SysName"
#define GETDEVSYSINFO_UP_SYSLOCATION                              "SysLocation"
#define GETDEVSYSINFO_UP_SYSSERVICE                               "SysService"

//采集配置信息调阅
#define GETCOLLECTCONFIG_UP_GUID                                  "GUID"
#define GETCOLLECTCONFIG_UP_DEVICESTATUS                          "DeviceStatus"
#define GETCOLLECTCONFIG_UP_SYSLOGTIME                            "SyslogTime"
#define GETCOLLECTCONFIG_UP_SYSLOGSTATUS                          "SyslogStatus"
#define GETCOLLECTCONFIG_UP_TRAPTIME                              "SnmpTrapTime"
#define GETCOLLECTCONFIG_UP_TRAPSTATUS                            "SnmpTrapStatus"
#define GETCOLLECTCONFIG_UP_SNMPTIME                              "SNMPTime"
#define GETCOLLECTCONFIG_UP_SNMPSTATUS                            "SNMPStatus"
#define GETCOLLECTCONFIG_UP_AUDITORTIME                           "AuditorTime"
#define GETCOLLECTCONFIG_UP_AUDITORSTATUS                         "AuditorStatus"


//采集装置报文数调阅
#define GETPACKETNUM_UP_STATUS                                    "status"
#define GETPACKETNUM_UP_STATUS1                                   "Status"
#define GETPACKETNUM_UP_MSG                                       "Msg"
#define GETPACKETNUM_UP_MSGNUM                                    "MessageNum"

//网段
#define JSON_UP_NETSEGMENT                                        "NetSegment"
#define JSON_UP_BROADCASTDOMAIN                                   "broadcastDomain"
#define JSON_UP_IPSEGMENT                                         "ipSegment"
#define JSON_UP_MASK                                              "mask"
#define JSON_UP_GATEWAY											  "gateway"
#define JSON_UP_PARTITION										  "partition"
#define JSON_UP_SUBNET											  "subNet"
#define JSON_UP_VLAN									          "vlan"
#define JSON_UP_INTERFACENAME									  "interfaceName"
#define JSON_UP_SUBINTERFACENAME								  "subInterfaceName"
#define JSON_UP_NETWORKGUID							   			  "networkGUID"
#define JSON_UP_ALIAS                                             "alias"

//范式化文件调阅
#define ANALYSISFILE_UP_DISCOVERYTIME                              "DiscoverTime"
#define ANALYSISFILE_UP_FILENAME                                   "FileName"
#define ANALYSISFILE_UP_FILEMD5                                    "MD5"
#define ANALYSISFILE_UP_FILELENGTH                                 "SIZE"
#define PCAPCONFIRM_UP_ACK_FILELENGTH                              "FileLength"
#define PCAPCONFIRM_UP_ACK_FILEMD5                                 "FileMD5"

//PCAP调阅请求
#define PCAPFILEREQUEST_UP_ACK_IP                                  "IP"
#define PCAPFILEREQUEST_UP_ACK_FILENAME                            "FileName"
#define PCAPFILEREQUEST_UP_ACK_SIZE                                "Size"

#define PCAP_UP_DCDGUID                                            "DcdGuid"
#define PCAP_UP_IP                                                 "IP"
#define PCAP_UP_ST                                                 "ST"
#define PCAP_UP_ET                                                 "ET"
#define PCAP_UP_FILENAME                                           "FileName"
#define PCAP_UP_SIZE                                               "Size"
#define PCAP_UP_FILEMD5                                            "FileMD5"
#define PCAP_UP_FILELENGTH                                         "FileLength"
#define PCAP_UP_TOTADISK                                           "TotalDisk"
#define PCAP_UP_USABLEDISK                                         "UsableDisk"
#define PCAP_UP_STOREDPCAP                                         "StoredPcap"


#define JSON_UP_TO                                                 "T0"
//#define JSON_T1                                                  "T1"
//#define JSON_T2                                                  "T2"

#define JSON_HPIMGNAME                                             "hpImgName"

//资产维护
#define DEVINFO_UP_DEVGUID                                          "DevGuid"
#define DEVINFO_UP_APPNAME                                          "APPName"
#define DEVINFO_UP_EVENTTYPE                                        "EventType"
#define DEVINFO_UP_FUNCLASSTAG                                      "FunClassTag"
#define DEVINFO_UP_DISCOVERTIME                                     "DiscoverTime"
#define DEVINFO_UP_DETAILS                                          "Details"
#define DEVINFO_UP_VOLTAGECALSS                                     "voltageCalss"
#define DEVINFO_UP_ISNAT                                            "isNat"
#define DEVINFO_UP_SUBORDINATEDCDNAME                               "subordinateDcdName"
#define DEVINFO_UP_SUBORDINATEDCDIP                                 "subordinateDcdIp"
#define DEVINFO_UP_SUBORDINATEDCDGUID                               "subordinateDcdGUID"
#define DEVINFO_UP_DEVICEID                                         "DeviceID"


//装置升级
#define DEVINFO_UP_DCDUPDATE_UPDATERESULT                           "updateResult"
#define DEVINFO_UP_DCDUPDATE_UPDATERESULTMSG                        "updateResultMsg"
#define DEVINFO_UP_DCDUPDATE_PACKETTYPE                             "packetType"
#define DEVINFO_UP_DCDUPDATE_PACKETSUBTYPE                          "packetSubType"
#define DEVINFO_UP_DCDUPDATE_EDITION                                "edition"
#define DEVINFO_UP_DCDUPDATE_FIRM                                   "firm"
#define DEVINFO_UP_DCDUPDATE_FILENAME                               "fileName"
#define DEVINFO_UP_DCDUPDATE_VERSION                                "version"
#define DEVINFO_UP_OFFSETSIZE                                       "offsetSize"





#endif // JSONUPLOAD_H
